package com.hyh.ad.common.enums;

/**
 * 用户状态
 *
 * @author pd
 */
public enum ResultStatus
{
    SUCCESS("success", "成功"),
    ERROR("error", "错误"),
    FAILURES("failures", "失败");

    private final String code;
    private final String info;

    ResultStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
